package com.stars.empoly.vmodel

import android.app.Application
import androidx.lifecycle.MutableLiveData
import com.stars.empoly.model.MemberList
import com.trailer.base.base.BRepository
import com.trailer.base.base.BViewModel

class BillDetailsVModel(application: Application) : BViewModel<BRepository>(application) {



    var bean= MutableLiveData<MemberList>()

    fun getTips(payType:String?):String{
        when(payType){
            "1"->{
                return "微信"
            }
            "2"->{
                return "余额"
            }
            "3"->{
                return "支付宝"
            }
        }

        return ""
    }

    fun getBillType(type:String?):String{
        when(type){
            "1"->{
                return "充值"
            }
            "2"->{
                return "消费"
            }
            "3"->{
                return "提现"
            }
            "4"->{
                return "收入"
            }
        }

        return ""
    }

}
